package category;
import java.util.HashMap;
import java.util.LinkedList;


public class CategoryCollection {
	
	private HashMap<String, Category> categoryList;

	// COSTRUTTORI
	
	public CategoryCollection() {
		 categoryList= new HashMap<String,Category>();
	}
	
	// GETTER E SETTER

	public HashMap<String, Category> getCategoryList() {
		return categoryList;
	}

	public void setCategoryList(HashMap<String, Category> categoryList) {
		this.categoryList = categoryList;
	}

	// METODI

	public boolean contains(Category testCat) {
		return categoryList.containsValue(testCat);
	}

}
